    <div class="container">
      <div class="bg-putih">

        <div class="jdl-page">
          <?php echo isset($judul)?$judul:'<font color="#ccc">Judul Belum Diberikan</font>'; ?>
          <div class="clearfix"></div>
        </div>

        <?php echo form_open('master_barang/add', array('class' => 'form-horizontal', 'role' => 'form', 'id' => 'form')); ?>
          <div class="form-group">
            <label class="col-xs-2 control-label">ID Produksi</label>
            <div class="col-xs-10">
              <input type="text" name="id_produksi" class="form-control input-sm" placeholder="">
            </div>
          </div>
          <div class="form-group">
            <label class="col-xs-2 control-label">Nama</label>
            <div class="col-xs-10">
              <input type="text" name="nama" class="form-control input-sm" placeholder="">
            </div>
          </div>
          <div class="form-group">
            <label class="col-xs-2 control-label">Keterangan</label>
            <div class="col-xs-10">
              <textarea name="ket" id="ket" class="form-control input-sm" rows="3"></textarea>
            </div>
          </div>
          <div class="form-group">
            <div class="col-xs-offset-2 col-xs-10">
              <button type="submit" class="btn btn-primary btn-sm">Simpan</button>
              <button type="reset" class="btn btn-default btn-sm">Kosongkan</button>
            </div>
          </div>
        <?php echo form_close(); ?>

        <div class="clearfix"></div>
      </div>
    </div> <!-- /container -->

    <script>
    $("#form").validate({
      rules: {
        id_produksi: {
          required: true
        },
        nama: {
          required: true,
          minlength: 5
        }
      }
    });

    CKEDITOR.replace( 'ket' );
    </script>